
import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
 {
    path:"/",
    name:"HelloWorld",
    component:()=>import("../components/HelloWorld.vue")
 },
 {
    path:"/Login",
    name:"Login",
    component:()=>import("../components/Login.vue")
 },
 {
    path:"/Register",
    name:"Register",
    component:()=>import("../components/Register.vue")
 },

]

const route=createRouter({
    history:createWebHistory(),
    routes

})
export default route;
